Type.registerNamespace('Ajax.Logging');

Ajax.Logging.SysDebugListener = function(lineSeparator)
{
    Ajax.Logging.SysDebugListener.initializeBase(this, [lineSeparator]);
}

Ajax.Logging.SysDebugListener.prototype =
{
    dispose : function()
    {
        Ajax.Logging.SysDebugListener.callBaseMethod(this, 'dispose');
    },

    publishException : function(errorCode, exception, environmentInfo)
    {
        var errorInfo = Ajax.Logging.SysDebugListener.callBaseMethod(this, 'formatException', [errorCode, exception]);
        Sys.Debug.traceDump(errorInfo);
    }
}

Ajax.Logging.SysDebugListener.registerClass('Ajax.Logging.SysDebugListener', Ajax.Logging.BaseListener);

if (typeof(Sys) != 'undefined')
{
    Sys.Application.notifyScriptLoaded();
}